"""
@name : attentions
@author : FanMY_71
@projectname: Selling-Idea
@Time: 2022/9/5-20:42
"""
from flask import Blueprint
from flask_restful import Api, Resource

from libs.handler import default_error_handler

attention_bp = Blueprint("attention", __name__, url_prefix="/v1")
api = Api(attention_bp)


class AttentionView(Resource):
    def post(self):
        pass

    def delete(self, id):
        pass


api.add_resource(AttentionView, "/attentions")
api.add_resource(AttentionView, "/attentions/<id>", endpoint="attentionsviewapi")
api.handle_error = default_error_handler
